/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package forense.frames;

import forense.classes.ArchivoLogger;
import forense.dbo.ConexionBD;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.ButtonGroup;
import javax.swing.JOptionPane;
import forense.entities.Bateria;
import forense.entities.Cargador;
import forense.entities.Device;
import forense.entities.Propiedades;
import forense.entities.SdCard;
import forense.entities.SimCard;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import javax.swing.JTextField;

/**
 *
 * @author Kate
 */
public class IngresarDispositivo extends javax.swing.JFrame {

    private final static ArchivoLogger log = new ArchivoLogger(IngresarDispositivo.class);

    ButtonGroup estado = new ButtonGroup();
    ButtonGroup block = new ButtonGroup();
    ButtonGroup vuelo = new ButtonGroup();
    ButtonGroup camara = new ButtonGroup();
    ButtonGroup img = new ButtonGroup();
    ButtonGroup video = new ButtonGroup();
    ButtonGroup bateria = new ButtonGroup();
    ButtonGroup sd = new ButtonGroup();
    ButtonGroup sim = new ButtonGroup();
    ButtonGroup cable = new ButtonGroup();
    ButtonGroup cargador = new ButtonGroup();

    /**
     * Creates new form Caso
     */
    public IngresarDispositivo() {
        initComponents();

        this.setResizable(false);
        this.setLocationRelativeTo(null);
        
        txtCompilacion.setLineWrap(true);
        txtCompilacion.setWrapStyleWord(true);
        txtKernel.setLineWrap(true);
        txtKernel.setWrapStyleWord(true);

        txtFicheros1.setLineWrap(true);
        txtFicheros1.setWrapStyleWord(true);
        txtTamanioFicheros.setLineWrap(true);
        txtTamanioFicheros.setWrapStyleWord(true);

        estado.add(jRadioButtonApagado);
        estado.add(jRadioButtonEncendido);

        block.add(jRadioButtonBloqueadoSi);
        block.add(jRadioButtonBloqueadoNo);

        cargador.add(jRadioButtonCargadorSi);
        cargador.add(jRadioButtonCargadorNo);

        vuelo.add(jRadioButtonModoVueloSi);
        vuelo.add(jRadioButtonModoVueloNo);

        camara.add(jRadioButtonCamaraSi);
        camara.add(jRadioButtonCamaraNo);

        img.add(jRadioButtonImgSi);
        img.add(jRadioButtonImgNo);

        video.add(jRadioButtonVideoSi);
        video.add(jRadioButtonVideoNo);

        bateria.add(jRadioButtonBateriaSi);
        bateria.add(jRadioButtonBateriaNo);

        sd.add(jRadioButtonSDSi);
        sd.add(jRadioButtonSDNo);

        sim.add(jRadioButtonSIMSi);
        sim.add(jRadioButtonSIMNo);

        cable.add(jRadioButtonCableSi);
        cable.add(jRadioButtonCableNo);

        primeraLetraMayuscula(txtCodEtiquetaDispositivo);
        primeraLetraMayuscula(txtCodCable);
        primeraLetraMayuscula(txtCodCargador);
        primeraLetraMayuscula(txtPantalla);
        primeraLetraMayuscula(txtOtro);
        primeraLetraMayuscula(txtFabricanteBateria);
        primeraLetraMayuscula(txtMarcaCargador);
        primeraLetraMayuscula(txtModeloCargador);

    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel5 = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        jPanelDatosDispositivo = new javax.swing.JPanel();
        jPanel11 = new javax.swing.JPanel();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        jLabel40 = new javax.swing.JLabel();
        cmbTipo = new javax.swing.JComboBox();
        jLabel55 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jRadioButtonApagado = new javax.swing.JRadioButton();
        jRadioButtonEncendido = new javax.swing.JRadioButton();
        jLabel41 = new javax.swing.JLabel();
        jRadioButtonBloqueadoSi = new javax.swing.JRadioButton();
        jRadioButtonBloqueadoNo = new javax.swing.JRadioButton();
        jLabel42 = new javax.swing.JLabel();
        txtPantalla = new javax.swing.JTextField();
        jLabel43 = new javax.swing.JLabel();
        txtFcc = new javax.swing.JTextField();
        jLabel44 = new javax.swing.JLabel();
        txtIc = new javax.swing.JTextField();
        txtAlmacenamiento = new javax.swing.JTextField();
        jPanel8 = new javax.swing.JPanel();
        jLabel45 = new javax.swing.JLabel();
        jLabel46 = new javax.swing.JLabel();
        jLabel47 = new javax.swing.JLabel();
        jCheckBoxBluetooth = new javax.swing.JCheckBox();
        jCheckBoxWifi = new javax.swing.JCheckBox();
        jLabel48 = new javax.swing.JLabel();
        jCheckBoxInfrarrojo = new javax.swing.JCheckBox();
        jCheckBoxOtro = new javax.swing.JCheckBox();
        txtOtro = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jRadioButtonModoVueloSi = new javax.swing.JRadioButton();
        jRadioButtonModoVueloNo = new javax.swing.JRadioButton();
        jLabel13 = new javax.swing.JLabel();
        jPanel9 = new javax.swing.JPanel();
        jLabel15 = new javax.swing.JLabel();
        jRadioButtonSDSi = new javax.swing.JRadioButton();
        jRadioButtonSDNo = new javax.swing.JRadioButton();
        jRadioButtonSIMSi = new javax.swing.JRadioButton();
        jLabel49 = new javax.swing.JLabel();
        jRadioButtonSIMNo = new javax.swing.JRadioButton();
        jRadioButtonBateriaSi = new javax.swing.JRadioButton();
        jLabel50 = new javax.swing.JLabel();
        jRadioButtonBateriaNo = new javax.swing.JRadioButton();
        jRadioButtonImgSi = new javax.swing.JRadioButton();
        jLabel51 = new javax.swing.JLabel();
        jRadioButtonImgNo = new javax.swing.JRadioButton();
        jRadioButtonVideoSi = new javax.swing.JRadioButton();
        jLabel52 = new javax.swing.JLabel();
        jRadioButtonVideoNo = new javax.swing.JRadioButton();
        jLabel4 = new javax.swing.JLabel();
        jRadioButtonCamaraSi = new javax.swing.JRadioButton();
        jRadioButtonCamaraNo = new javax.swing.JRadioButton();
        jLabel71 = new javax.swing.JLabel();
        jRadioButtonCableSi = new javax.swing.JRadioButton();
        jRadioButtonCableNo = new javax.swing.JRadioButton();
        jLabel5 = new javax.swing.JLabel();
        jRadioButtonCargadorSi = new javax.swing.JRadioButton();
        jRadioButtonCargadorNo = new javax.swing.JRadioButton();
        jDateChooserRecepcion = new com.toedter.calendar.JDateChooser();
        jLabel10 = new javax.swing.JLabel();
        cmbHora = new javax.swing.JComboBox();
        jLabel27 = new javax.swing.JLabel();
        cmbMinutos = new javax.swing.JComboBox();
        jLabel6 = new javax.swing.JLabel();
        txtCodEtiquetaDispositivo = new javax.swing.JTextField();
        btnAtras2 = new javax.swing.JButton();
        btnSiguienteAPerifericos = new javax.swing.JButton();
        btnCancelar1 = new javax.swing.JButton();
        btnFinalizar1 = new javax.swing.JButton();
        jPanelDatosPerifericos = new javax.swing.JPanel();
        jPanel14 = new javax.swing.JPanel();
        jLabel53 = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        jPanel10 = new javax.swing.JPanel();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        txtSerialSD = new javax.swing.JTextField();
        txtEspacioSd = new javax.swing.JTextField();
        txtDisponibleSd = new javax.swing.JTextField();
        jPanel15 = new javax.swing.JPanel();
        jLabel58 = new javax.swing.JLabel();
        jLabel59 = new javax.swing.JLabel();
        jLabel60 = new javax.swing.JLabel();
        txtFono = new javax.swing.JTextField();
        txtIccSIM = new javax.swing.JTextField();
        txtPin = new javax.swing.JTextField();
        txtPuk = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        jLabel62 = new javax.swing.JLabel();
        txtFabricanteBateria = new javax.swing.JTextField();
        jLabel63 = new javax.swing.JLabel();
        txtVoltaje = new javax.swing.JTextField();
        jLabel64 = new javax.swing.JLabel();
        txtSerialBateria = new javax.swing.JTextField();
        jPanel16 = new javax.swing.JPanel();
        jLabel65 = new javax.swing.JLabel();
        txtCodCargador = new javax.swing.JTextField();
        jLabel66 = new javax.swing.JLabel();
        txtMarcaCargador = new javax.swing.JTextField();
        jLabel67 = new javax.swing.JLabel();
        txtModeloCargador = new javax.swing.JTextField();
        jLabel68 = new javax.swing.JLabel();
        txtInput = new javax.swing.JTextField();
        jLabel69 = new javax.swing.JLabel();
        txtOutput = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        txtFrecuenciaCargador = new javax.swing.JTextField();
        jLabel70 = new javax.swing.JLabel();
        txtSerialCargador = new javax.swing.JTextField();
        jLabel72 = new javax.swing.JLabel();
        txtCodCable = new javax.swing.JTextField();
        btnAtrasADispositivo = new javax.swing.JButton();
        btnSiguienteAPropiedades = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jButton5 = new javax.swing.JButton();
        jPanelPropiedades = new javax.swing.JPanel();
        jPanel17 = new javax.swing.JPanel();
        jLabel73 = new javax.swing.JLabel();
        jLabel74 = new javax.swing.JLabel();
        jLabel75 = new javax.swing.JLabel();
        jLabel76 = new javax.swing.JLabel();
        jPanel18 = new javax.swing.JPanel();
        jLabel77 = new javax.swing.JLabel();
        jToolBar2 = new javax.swing.JToolBar();
        btnBuscarDispositivos = new javax.swing.JButton();
        jComboBoxDevices = new javax.swing.JComboBox();
        btnBackUp = new javax.swing.JButton();
        jLabel78 = new javax.swing.JLabel();
        txtTipo = new javax.swing.JTextField();
        jLabel79 = new javax.swing.JLabel();
        txtMarca = new javax.swing.JTextField();
        jLabel80 = new javax.swing.JLabel();
        txtSO = new javax.swing.JTextField();
        jLabel81 = new javax.swing.JLabel();
        txtOperadora = new javax.swing.JTextField();
        jLabel82 = new javax.swing.JLabel();
        txtProcesador = new javax.swing.JTextField();
        jLabel83 = new javax.swing.JLabel();
        txtModelo = new javax.swing.JTextField();
        jLabel84 = new javax.swing.JLabel();
        txtVersion = new javax.swing.JTextField();
        jLabel85 = new javax.swing.JLabel();
        txtImei = new javax.swing.JTextField();
        jLabel86 = new javax.swing.JLabel();
        txtFabricante = new javax.swing.JTextField();
        jLabel87 = new javax.swing.JLabel();
        txtLenguaje = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        txtSerialDevice = new javax.swing.JTextField();
        jLabel88 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        txtKernel = new javax.swing.JTextArea();
        jLabel89 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        txtCompilacion = new javax.swing.JTextArea();
        jLabel12 = new javax.swing.JLabel();
        txtSerialRadio = new javax.swing.JTextField();
        btnAtrasAPerifericos = new javax.swing.JButton();
        btnSiguienteAFicheros = new javax.swing.JButton();
        jButton7 = new javax.swing.JButton();
        jButton8 = new javax.swing.JButton();
        jPanelSistemaFicheros = new javax.swing.JPanel();
        jPanel19 = new javax.swing.JPanel();
        jLabel90 = new javax.swing.JLabel();
        jLabel91 = new javax.swing.JLabel();
        jLabel92 = new javax.swing.JLabel();
        jLabel93 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jLabel94 = new javax.swing.JLabel();
        jPanel13 = new javax.swing.JPanel();
        jScrollPane5 = new javax.swing.JScrollPane();
        txtFicheros1 = new javax.swing.JTextArea();
        jPanel12 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        txtTamanioFicheros = new javax.swing.JTextArea();
        btnFicheros = new javax.swing.JButton();
        btnAtrasAPropiedades = new javax.swing.JButton();
        btnSiguiente4 = new javax.swing.JButton();
        jButton10 = new javax.swing.JButton();
        btnFinalizar = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        jPanel5.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jPanel1.setLayout(new java.awt.CardLayout());

        jPanel11.setBackground(new java.awt.Color(255, 255, 255));
        jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Pasos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel11.setMinimumSize(new java.awt.Dimension(200, 575));
        jPanel11.setPreferredSize(new java.awt.Dimension(200, 575));

        jLabel28.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel28.setText("1. Datos dispositivo");

        jLabel29.setText("2. Datos periféricos");

        jLabel30.setText("3. Propiedades del dispositivo");

        jLabel31.setText("4. Sistema de ficheros");

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel28)
                    .addComponent(jLabel29)
                    .addComponent(jLabel30)
                    .addComponent(jLabel31))
                .addContainerGap(36, Short.MAX_VALUE))
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel28)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel29)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel30)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel31)
                .addContainerGap(467, Short.MAX_VALUE))
        );

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Dispositivo", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel4.setMinimumSize(new java.awt.Dimension(575, 575));
        jPanel4.setPreferredSize(new java.awt.Dimension(575, 575));

        jLabel40.setText("Tipo de dispositivo:");

        cmbTipo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Seleccione", "Tablet", "Smartphone" }));

        jLabel55.setText("Fecha de recepción:");

        jLabel3.setText("Estado:");

        jRadioButtonApagado.setText("Apagado");

        jRadioButtonEncendido.setText("Encendido");

        jLabel41.setText("Bloqueado:");

        jRadioButtonBloqueadoSi.setText("Si");

        jRadioButtonBloqueadoNo.setText("No");

        jLabel42.setText("Características Pantalla:");

        jLabel43.setText("FCC ID:");

        jLabel44.setText("IC:");

        jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder("Servicios de conexión:"));

        jLabel45.setText("Bluetooth:");

        jLabel46.setText("Wifi:");

        jLabel47.setText("Infrarrojo:");

        jLabel48.setText("Otro:");

        jCheckBoxOtro.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCheckBoxOtroActionPerformed(evt);
            }
        });

        txtOtro.setEnabled(false);

        jLabel14.setText("Soporta modo vuelo:");

        jRadioButtonModoVueloSi.setText("Si");

        jRadioButtonModoVueloNo.setText("No");

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel45)
                    .addComponent(jLabel46))
                .addGap(18, 18, 18)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jCheckBoxBluetooth)
                    .addComponent(jCheckBoxWifi))
                .addGap(18, 18, 18)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel47)
                    .addComponent(jLabel48))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addComponent(jCheckBoxOtro)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtOtro, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addComponent(jCheckBoxInfrarrojo)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel14)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonModoVueloSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonModoVueloNo)))
                .addContainerGap(95, Short.MAX_VALUE))
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addComponent(jLabel45)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel46))
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jCheckBoxBluetooth)
                            .addComponent(jLabel47)
                            .addComponent(jCheckBoxInfrarrojo))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jCheckBoxWifi)
                                .addComponent(jCheckBoxOtro))
                            .addComponent(jLabel48)))
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel14)
                            .addComponent(jRadioButtonModoVueloSi)
                            .addComponent(jRadioButtonModoVueloNo))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtOtro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jLabel13.setText("Espacio almacenamiento:");

        jPanel9.setBorder(javax.swing.BorderFactory.createTitledBorder("Incluye:"));

        jLabel15.setText("Tarjeta externa:");

        jRadioButtonSDSi.setText("Si");
        jRadioButtonSDSi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonSDSiActionPerformed(evt);
            }
        });

        jRadioButtonSDNo.setText("No");
        jRadioButtonSDNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonSDNoActionPerformed(evt);
            }
        });

        jRadioButtonSIMSi.setText("Si");
        jRadioButtonSIMSi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonSIMSiActionPerformed(evt);
            }
        });

        jLabel49.setText("SIM Card:");

        jRadioButtonSIMNo.setText("No");
        jRadioButtonSIMNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonSIMNoActionPerformed(evt);
            }
        });

        jRadioButtonBateriaSi.setText("Si");

        jLabel50.setText("Cámara:");

        jRadioButtonBateriaNo.setText("No");

        jRadioButtonImgSi.setText("Si");
        jRadioButtonImgSi.setEnabled(false);

        jLabel51.setText("Captura imágenes:");

        jRadioButtonImgNo.setText("No");
        jRadioButtonImgNo.setEnabled(false);

        jRadioButtonVideoSi.setText("Si");
        jRadioButtonVideoSi.setEnabled(false);

        jLabel52.setText("Captura vídeos:");

        jRadioButtonVideoNo.setText("No");
        jRadioButtonVideoNo.setEnabled(false);

        jLabel4.setText("Batería removible:");

        jRadioButtonCamaraSi.setText("Si");
        jRadioButtonCamaraSi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonCamaraSiActionPerformed(evt);
            }
        });

        jRadioButtonCamaraNo.setText("No");
        jRadioButtonCamaraNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonCamaraNoActionPerformed(evt);
            }
        });

        jLabel71.setText("Cable de datos:");

        jRadioButtonCableSi.setText("Si");
        jRadioButtonCableSi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonCableSiActionPerformed(evt);
            }
        });

        jRadioButtonCableNo.setText("No");
        jRadioButtonCableNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonCableNoActionPerformed(evt);
            }
        });

        jLabel5.setText("Cargador:");

        jRadioButtonCargadorSi.setText("Si");
        jRadioButtonCargadorSi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonCargadorSiActionPerformed(evt);
            }
        });

        jRadioButtonCargadorNo.setText("No");
        jRadioButtonCargadorNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jRadioButtonCargadorNoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
        jPanel9.setLayout(jPanel9Layout);
        jPanel9Layout.setHorizontalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel4)
                    .addComponent(jLabel15)
                    .addComponent(jLabel5)
                    .addComponent(jLabel50))
                .addGap(6, 6, 6)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jRadioButtonBateriaSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonBateriaNo))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jRadioButtonCargadorSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonCargadorNo))
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(jLabel51)
                        .addGroup(jPanel9Layout.createSequentialGroup()
                            .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jRadioButtonCamaraSi)
                                .addComponent(jRadioButtonSDSi))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jPanel9Layout.createSequentialGroup()
                                    .addComponent(jRadioButtonCamaraNo)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(jLabel52))
                                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel71)
                                    .addGroup(jPanel9Layout.createSequentialGroup()
                                        .addComponent(jRadioButtonSDNo)
                                        .addGap(71, 71, 71)
                                        .addComponent(jLabel49)))))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jRadioButtonCableSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonCableNo))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jRadioButtonSIMSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonSIMNo))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jRadioButtonVideoSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonVideoNo))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jRadioButtonImgSi)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jRadioButtonImgNo)))
                .addContainerGap(91, Short.MAX_VALUE))
        );
        jPanel9Layout.setVerticalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel15)
                    .addComponent(jRadioButtonSDSi)
                    .addComponent(jRadioButtonSDNo)
                    .addComponent(jLabel49)
                    .addComponent(jRadioButtonSIMSi)
                    .addComponent(jRadioButtonSIMNo))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(jRadioButtonBateriaSi)
                    .addComponent(jRadioButtonBateriaNo)
                    .addComponent(jLabel71)
                    .addComponent(jRadioButtonCableSi)
                    .addComponent(jRadioButtonCableNo))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jRadioButtonCargadorSi)
                    .addComponent(jRadioButtonCargadorNo))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel50)
                    .addComponent(jRadioButtonCamaraSi)
                    .addComponent(jRadioButtonCamaraNo)
                    .addComponent(jRadioButtonVideoSi)
                    .addComponent(jLabel52)
                    .addComponent(jRadioButtonVideoNo))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel51)
                    .addComponent(jRadioButtonImgSi)
                    .addComponent(jRadioButtonImgNo))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jDateChooserRecepcion.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jDateChooserRecepcionMouseClicked(evt);
            }
        });

        jLabel10.setText("Hora de recepción:");

        cmbHora.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "HH", "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" }));

        jLabel27.setText(":");

        cmbMinutos.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "mm", "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", " " }));

        jLabel6.setText("Código etiqueta:");

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel55)
                            .addComponent(jLabel40)
                            .addComponent(jLabel42)
                            .addComponent(jLabel43)
                            .addComponent(jLabel13)
                            .addComponent(jLabel41)
                            .addComponent(jLabel3)
                            .addComponent(jLabel6))
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel4Layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel4Layout.createSequentialGroup()
                                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(jPanel4Layout.createSequentialGroup()
                                                .addComponent(txtFcc, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                .addComponent(jLabel44))
                                            .addComponent(txtAlmacenamiento, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGap(10, 10, 10)
                                        .addComponent(txtIc, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(txtPantalla, javax.swing.GroupLayout.PREFERRED_SIZE, 355, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(jPanel4Layout.createSequentialGroup()
                                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                            .addComponent(jDateChooserRecepcion, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 160, Short.MAX_VALUE)
                                            .addComponent(cmbTipo, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            .addComponent(txtCodEtiquetaDispositivo, javax.swing.GroupLayout.Alignment.LEADING))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jLabel10)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(cmbHora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jLabel27)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(cmbMinutos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                            .addGroup(jPanel4Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel4Layout.createSequentialGroup()
                                        .addComponent(jRadioButtonBloqueadoSi)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jRadioButtonBloqueadoNo))
                                    .addComponent(jRadioButtonEncendido))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jRadioButtonApagado))))
                    .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(53, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGap(1, 1, 1)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(txtCodEtiquetaDispositivo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel55)
                    .addComponent(jDateChooserRecepcion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel10)
                        .addComponent(jLabel27)
                        .addComponent(cmbHora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(cmbMinutos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel40)
                    .addComponent(cmbTipo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(jRadioButtonEncendido)
                    .addComponent(jRadioButtonApagado))
                .addGap(3, 3, 3)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel41)
                    .addComponent(jRadioButtonBloqueadoSi)
                    .addComponent(jRadioButtonBloqueadoNo))
                .addGap(2, 2, 2)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel42)
                    .addComponent(txtPantalla, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel43)
                    .addComponent(txtFcc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel44)
                    .addComponent(txtIc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel13)
                    .addComponent(txtAlmacenamiento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        btnAtras2.setText("Atrás");
        btnAtras2.setEnabled(false);
        btnAtras2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAtras2ActionPerformed(evt);
            }
        });

        btnSiguienteAPerifericos.setText("Siguiente");
        btnSiguienteAPerifericos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSiguienteAPerifericosActionPerformed(evt);
            }
        });

        btnCancelar1.setText("Cancelar");
        btnCancelar1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelar1ActionPerformed(evt);
            }
        });

        btnFinalizar1.setText("Finalizar");
        btnFinalizar1.setEnabled(false);

        javax.swing.GroupLayout jPanelDatosDispositivoLayout = new javax.swing.GroupLayout(jPanelDatosDispositivo);
        jPanelDatosDispositivo.setLayout(jPanelDatosDispositivoLayout);
        jPanelDatosDispositivoLayout.setHorizontalGroup(
            jPanelDatosDispositivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosDispositivoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosDispositivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelDatosDispositivoLayout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(btnAtras2, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnSiguienteAPerifericos)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnCancelar1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnFinalizar1))
                    .addGroup(jPanelDatosDispositivoLayout.createSequentialGroup()
                        .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jPanelDatosDispositivoLayout.setVerticalGroup(
            jPanelDatosDispositivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosDispositivoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosDispositivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosDispositivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAtras2)
                    .addComponent(btnSiguienteAPerifericos)
                    .addComponent(btnCancelar1)
                    .addComponent(btnFinalizar1))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel1.add(jPanelDatosDispositivo, "card2");

        jPanel14.setBackground(new java.awt.Color(255, 255, 255));
        jPanel14.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Pasos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel14.setMinimumSize(new java.awt.Dimension(200, 496));
        jPanel14.setPreferredSize(new java.awt.Dimension(200, 496));

        jLabel53.setText("1. Datos dispositivo");

        jLabel54.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel54.setText("2. Datos periféricos");

        jLabel56.setText("3. Propiedades del dispositivo");

        jLabel57.setText("4. Sistema de ficheros");

        javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14);
        jPanel14.setLayout(jPanel14Layout);
        jPanel14Layout.setHorizontalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel53)
                    .addComponent(jLabel54)
                    .addComponent(jLabel56)
                    .addComponent(jLabel57))
                .addContainerGap(36, Short.MAX_VALUE))
        );
        jPanel14Layout.setVerticalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel53)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel54)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel56)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel57)
                .addContainerGap(467, Short.MAX_VALUE))
        );

        jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Periféricos asociados", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel6.setMinimumSize(new java.awt.Dimension(575, 575));
        jPanel6.setPreferredSize(new java.awt.Dimension(575, 575));

        jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder("Tarjeta externa:"));
        jPanel10.setPreferredSize(new java.awt.Dimension(279, 102));

        jLabel21.setText("Número Serial:");

        jLabel22.setText("Espacio almacenamiento:");

        jLabel23.setText("Espacio disponible:");

        txtSerialSD.setText("N/A");
        txtSerialSD.setEnabled(false);

        txtEspacioSd.setText("N/A");
        txtEspacioSd.setEnabled(false);

        txtDisponibleSd.setText("N/A");
        txtDisponibleSd.setEnabled(false);

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addComponent(jLabel21)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtSerialSD, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addComponent(jLabel22)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtEspacioSd, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel23)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtDisponibleSd, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel21)
                    .addComponent(txtSerialSD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel22)
                    .addComponent(txtEspacioSd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel23)
                    .addComponent(txtDisponibleSd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(33, Short.MAX_VALUE))
        );

        jPanel15.setBorder(javax.swing.BorderFactory.createTitledBorder("SIM Card:"));
        jPanel15.setPreferredSize(new java.awt.Dimension(279, 23));

        jLabel58.setText("ICC:");

        jLabel59.setText("PIN:");

        jLabel60.setText("PUK:");

        txtFono.setText("N/A");
        txtFono.setEnabled(false);

        txtIccSIM.setText("N/A");
        txtIccSIM.setEnabled(false);

        txtPin.setText("N/A");
        txtPin.setEnabled(false);

        txtPuk.setText("N/A");
        txtPuk.setEnabled(false);

        jLabel2.setText("# de Teléfono:");

        javax.swing.GroupLayout jPanel15Layout = new javax.swing.GroupLayout(jPanel15);
        jPanel15.setLayout(jPanel15Layout);
        jPanel15Layout.setHorizontalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel15Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel59)
                    .addComponent(jLabel58)
                    .addComponent(jLabel2))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txtFono, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtIccSIM, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel15Layout.createSequentialGroup()
                        .addComponent(txtPin, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel60)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtPuk, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel15Layout.setVerticalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel15Layout.createSequentialGroup()
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(txtFono, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel58)
                    .addComponent(txtIccSIM, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel59)
                    .addComponent(txtPin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel60)
                    .addComponent(txtPuk, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(41, Short.MAX_VALUE))
        );

        jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Batería:"));

        jLabel62.setText("Fabricante:");

        jLabel63.setText("Capacidad de voltaje:");

        jLabel64.setText("Número serial:");

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel64)
                    .addComponent(jLabel63))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txtVoltaje, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel7Layout.createSequentialGroup()
                        .addComponent(txtSerialBateria, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel62)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtFabricanteBateria, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel64)
                    .addComponent(txtSerialBateria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel62)
                    .addComponent(txtFabricanteBateria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel63)
                    .addComponent(txtVoltaje, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        jPanel16.setBorder(javax.swing.BorderFactory.createTitledBorder("Cargador/Cable USB:"));

        jLabel65.setText("Código etiqueta:");

        txtCodCargador.setText("N/A");
        txtCodCargador.setEnabled(false);

        jLabel66.setText("Marca:");

        txtMarcaCargador.setText("N/A");
        txtMarcaCargador.setEnabled(false);

        jLabel67.setText("Modelo:");

        txtModeloCargador.setText("N/A");
        txtModeloCargador.setEnabled(false);

        jLabel68.setText("Input:");

        txtInput.setText("N/A");
        txtInput.setEnabled(false);

        jLabel69.setText("Output:");

        txtOutput.setText("N/A");
        txtOutput.setEnabled(false);

        jLabel11.setText("Frecuencia:");

        txtFrecuenciaCargador.setText("N/A");
        txtFrecuenciaCargador.setEnabled(false);

        jLabel70.setText("S/N:");

        txtSerialCargador.setText("N/A");
        txtSerialCargador.setEnabled(false);

        jLabel72.setText("Código etiqueta cable de datos:");

        txtCodCable.setText("N/A");
        txtCodCable.setEnabled(false);

        javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16);
        jPanel16.setLayout(jPanel16Layout);
        jPanel16Layout.setHorizontalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addComponent(jLabel72)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtCodCable, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel11)
                            .addComponent(jLabel66)
                            .addComponent(jLabel65))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(txtMarcaCargador, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(txtCodCargador, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel67, javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel70, javax.swing.GroupLayout.Alignment.TRAILING))
                                .addGap(18, 18, 18)
                                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(txtSerialCargador, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(txtModeloCargador, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel16Layout.createSequentialGroup()
                                .addComponent(txtFrecuenciaCargador, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel68)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtInput, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel69)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtOutput, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel16Layout.setVerticalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel65)
                    .addComponent(txtCodCargador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel70)
                    .addComponent(txtSerialCargador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel66)
                    .addComponent(txtMarcaCargador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtModeloCargador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel67))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(txtFrecuenciaCargador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel68)
                    .addComponent(txtInput, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel69)
                    .addComponent(txtOutput, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel72)
                    .addComponent(txtCodCable, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(jPanel10, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 518, Short.MAX_VALUE)
                    .addComponent(jPanel7, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel15, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 518, Short.MAX_VALUE)
                    .addComponent(jPanel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(45, Short.MAX_VALUE))
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(1, 1, 1)
                .addComponent(jPanel15, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(100, Short.MAX_VALUE))
        );

        btnAtrasADispositivo.setText("Atrás");
        btnAtrasADispositivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAtrasADispositivoActionPerformed(evt);
            }
        });

        btnSiguienteAPropiedades.setText("Siguiente");
        btnSiguienteAPropiedades.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSiguienteAPropiedadesActionPerformed(evt);
            }
        });

        jButton4.setText("Cancelar");
        jButton4.setEnabled(false);

        jButton5.setText("Finalizar");
        jButton5.setEnabled(false);

        javax.swing.GroupLayout jPanelDatosPerifericosLayout = new javax.swing.GroupLayout(jPanelDatosPerifericos);
        jPanelDatosPerifericos.setLayout(jPanelDatosPerifericosLayout);
        jPanelDatosPerifericosLayout.setHorizontalGroup(
            jPanelDatosPerifericosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosPerifericosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelDatosPerifericosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanelDatosPerifericosLayout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(btnAtrasADispositivo, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnSiguienteAPropiedades)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton5)))
                .addContainerGap())
        );
        jPanelDatosPerifericosLayout.setVerticalGroup(
            jPanelDatosPerifericosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelDatosPerifericosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelDatosPerifericosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel14, javax.swing.GroupLayout.PREFERRED_SIZE, 575, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanelDatosPerifericosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAtrasADispositivo)
                    .addComponent(btnSiguienteAPropiedades)
                    .addComponent(jButton4)
                    .addComponent(jButton5))
                .addContainerGap())
        );

        jPanel1.add(jPanelDatosPerifericos, "card2");

        jPanel17.setBackground(new java.awt.Color(255, 255, 255));
        jPanel17.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Pasos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel17.setMinimumSize(new java.awt.Dimension(200, 496));
        jPanel17.setPreferredSize(new java.awt.Dimension(200, 496));

        jLabel73.setText("1. Datos dispositivo");

        jLabel74.setText("2. Datos periféricos");

        jLabel75.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel75.setText("3. Propiedades del dispositivo");

        jLabel76.setText("4. Sistema de ficheros");

        javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17);
        jPanel17.setLayout(jPanel17Layout);
        jPanel17Layout.setHorizontalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel73)
                    .addComponent(jLabel74)
                    .addComponent(jLabel75)
                    .addComponent(jLabel76))
                .addContainerGap(11, Short.MAX_VALUE))
        );
        jPanel17Layout.setVerticalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel73)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel74)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel75)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel76)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel18.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Propiedades del sistema", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel18.setMinimumSize(new java.awt.Dimension(575, 575));
        jPanel18.setPreferredSize(new java.awt.Dimension(575, 575));

        jLabel77.setIcon(new javax.swing.ImageIcon(getClass().getResource("/forense/images/Warning.png"))); // NOI18N
        jLabel77.setText("En esta sección conecte el dispositivo al equipo!!!");

        jToolBar2.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jToolBar2.setFloatable(false);
        jToolBar2.setRollover(true);

        btnBuscarDispositivos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/forense/images/buscar.gif"))); // NOI18N
        btnBuscarDispositivos.setText("Buscar dispositivos:");
        btnBuscarDispositivos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnBuscarDispositivosActionPerformed(evt);
            }
        });
        jToolBar2.add(btnBuscarDispositivos);

        jComboBoxDevices.setMaximumSize(new java.awt.Dimension(160, 25));
        jComboBoxDevices.setMinimumSize(new java.awt.Dimension(160, 25));
        jComboBoxDevices.setName(""); // NOI18N
        jComboBoxDevices.setPreferredSize(new java.awt.Dimension(160, 25));
        jComboBoxDevices.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jComboBoxDevicesActionPerformed(evt);
            }
        });
        jToolBar2.add(jComboBoxDevices);

        btnBackUp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/forense/images/1400_2085_128_download_hard disk_manager_icon.png"))); // NOI18N
        btnBackUp.setText("Realizar backup datos");
        btnBackUp.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnBackUpActionPerformed(evt);
            }
        });
        jToolBar2.add(btnBackUp);

        jLabel78.setText("Tipo:");

        txtTipo.setEditable(false);

        jLabel79.setText("Marca:");

        txtMarca.setEditable(false);

        jLabel80.setText("Sistema Operativo:");

        txtSO.setEditable(false);

        jLabel81.setText("Operadora:");

        txtOperadora.setEditable(false);

        jLabel82.setText("Procesador:");

        txtProcesador.setEditable(false);

        jLabel83.setText("Modelo:");

        txtModelo.setEditable(false);

        jLabel84.setText("Versión OS:");

        txtVersion.setEditable(false);

        jLabel85.setText("IMEI:");

        txtImei.setEditable(false);

        jLabel86.setText("Fabricante:");

        txtFabricante.setEditable(false);

        jLabel87.setText("Idioma OS:");

        txtLenguaje.setEditable(false);

        jLabel8.setText("S/N:");

        txtSerialDevice.setEditable(false);

        jLabel88.setText("Kernel:");

        txtKernel.setEditable(false);
        txtKernel.setBackground(new java.awt.Color(240, 240, 240));
        txtKernel.setColumns(20);
        txtKernel.setRows(5);
        jScrollPane1.setViewportView(txtKernel);

        jLabel89.setText("# Compilación:");

        txtCompilacion.setEditable(false);
        txtCompilacion.setBackground(new java.awt.Color(240, 240, 240));
        txtCompilacion.setColumns(20);
        txtCompilacion.setRows(5);
        jScrollPane2.setViewportView(txtCompilacion);

        jLabel12.setText("S/N radio:");

        txtSerialRadio.setEditable(false);

        javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18);
        jPanel18.setLayout(jPanel18Layout);
        jPanel18Layout.setHorizontalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel18Layout.createSequentialGroup()
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel18Layout.createSequentialGroup()
                        .addGap(108, 108, 108)
                        .addComponent(jLabel77))
                    .addGroup(jPanel18Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel8)
                            .addComponent(jLabel78)
                            .addComponent(jLabel79)
                            .addComponent(jLabel86)
                            .addComponent(jLabel82)
                            .addComponent(jLabel80)
                            .addComponent(jLabel84)
                            .addComponent(jLabel81)
                            .addComponent(jLabel88)
                            .addComponent(jLabel89))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addGroup(jPanel18Layout.createSequentialGroup()
                                    .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                        .addComponent(txtSO)
                                        .addComponent(txtProcesador, javax.swing.GroupLayout.DEFAULT_SIZE, 388, Short.MAX_VALUE)
                                        .addGroup(jPanel18Layout.createSequentialGroup()
                                            .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                                .addComponent(txtFabricante, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel18Layout.createSequentialGroup()
                                                    .addComponent(txtMarca, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                    .addComponent(jLabel83))
                                                .addComponent(txtTipo, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel18Layout.createSequentialGroup()
                                                    .addComponent(txtSerialDevice, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addGap(18, 18, 18)
                                                    .addComponent(jLabel12)))
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                .addComponent(txtSerialRadio, javax.swing.GroupLayout.DEFAULT_SIZE, 158, Short.MAX_VALUE)
                                                .addComponent(txtModelo)))
                                        .addGroup(jPanel18Layout.createSequentialGroup()
                                            .addComponent(txtOperadora, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 37, Short.MAX_VALUE)
                                            .addComponent(jLabel85)
                                            .addGap(165, 165, 165)))
                                    .addGap(19, 19, 19))
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 358, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 358, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel18Layout.createSequentialGroup()
                                .addComponent(txtVersion, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel87)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(txtImei, javax.swing.GroupLayout.DEFAULT_SIZE, 158, Short.MAX_VALUE)
                                    .addComponent(txtLenguaje)))))
                    .addComponent(jToolBar2, javax.swing.GroupLayout.PREFERRED_SIZE, 521, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(42, Short.MAX_VALUE))
        );
        jPanel18Layout.setVerticalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel18Layout.createSequentialGroup()
                .addGap(7, 7, 7)
                .addComponent(jLabel77)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jToolBar2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(txtSerialRadio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel8)
                    .addComponent(txtSerialDevice, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel78)
                    .addComponent(txtTipo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel79)
                    .addComponent(txtMarca, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel83)
                    .addComponent(txtModelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel86)
                    .addComponent(txtFabricante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel82)
                    .addComponent(txtProcesador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel80, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtSO, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel84, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtVersion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel87)
                    .addComponent(txtLenguaje, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel81)
                    .addComponent(txtOperadora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtImei, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel85))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel88)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 76, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(4, 4, 4)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel89)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(86, Short.MAX_VALUE))
        );

        btnAtrasAPerifericos.setText("Atrás");
        btnAtrasAPerifericos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAtrasAPerifericosActionPerformed(evt);
            }
        });

        btnSiguienteAFicheros.setText("Siguiente");
        btnSiguienteAFicheros.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSiguienteAFicherosActionPerformed(evt);
            }
        });

        jButton7.setText("Cancelar");
        jButton7.setEnabled(false);

        jButton8.setText("Finalizar");
        jButton8.setEnabled(false);

        javax.swing.GroupLayout jPanelPropiedadesLayout = new javax.swing.GroupLayout(jPanelPropiedades);
        jPanelPropiedades.setLayout(jPanelPropiedadesLayout);
        jPanelPropiedadesLayout.setHorizontalGroup(
            jPanelPropiedadesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPropiedadesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelPropiedadesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelPropiedadesLayout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(btnAtrasAPerifericos, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnSiguienteAFicheros)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton8))
                    .addGroup(jPanelPropiedadesLayout.createSequentialGroup()
                        .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelPropiedadesLayout.setVerticalGroup(
            jPanelPropiedadesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPropiedadesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelPropiedadesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel17, javax.swing.GroupLayout.DEFAULT_SIZE, 575, Short.MAX_VALUE)
                    .addComponent(jPanel18, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelPropiedadesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAtrasAPerifericos)
                    .addComponent(btnSiguienteAFicheros)
                    .addComponent(jButton7)
                    .addComponent(jButton8))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel1.add(jPanelPropiedades, "card2");

        jPanel19.setBackground(new java.awt.Color(255, 255, 255));
        jPanel19.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Pasos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel19.setMinimumSize(new java.awt.Dimension(200, 496));
        jPanel19.setPreferredSize(new java.awt.Dimension(200, 496));

        jLabel90.setText("1. Datos dispositivo");

        jLabel91.setText("2. Datos periféricos");

        jLabel92.setText("3. Propiedades del dispositivo");

        jLabel93.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel93.setText("4. Sistema de ficheros");

        javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19);
        jPanel19.setLayout(jPanel19Layout);
        jPanel19Layout.setHorizontalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel19Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel90)
                    .addComponent(jLabel91)
                    .addComponent(jLabel92)
                    .addComponent(jLabel93))
                .addContainerGap(36, Short.MAX_VALUE))
        );
        jPanel19Layout.setVerticalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel19Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel90)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel91)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel92)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel93)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Sistema de ficheros", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel2.setMinimumSize(new java.awt.Dimension(575, 575));
        jPanel2.setPreferredSize(new java.awt.Dimension(575, 575));

        jLabel94.setIcon(new javax.swing.ImageIcon(getClass().getResource("/forense/images/Warning.png"))); // NOI18N
        jLabel94.setText("Ruta de la partición a copiar");

        jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Composición sistema de ficheros", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel13.setToolTipText("");

        txtFicheros1.setEditable(false);
        txtFicheros1.setBackground(new java.awt.Color(240, 240, 240));
        txtFicheros1.setColumns(20);
        txtFicheros1.setRows(5);
        jScrollPane5.setViewportView(txtFicheros1);

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 521, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 215, Short.MAX_VALUE)
                .addContainerGap())
        );

        jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Tamaño ficheros:", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11))); // NOI18N
        jPanel12.setToolTipText("");

        txtTamanioFicheros.setEditable(false);
        txtTamanioFicheros.setBackground(new java.awt.Color(240, 240, 240));
        txtTamanioFicheros.setColumns(20);
        txtTamanioFicheros.setRows(5);
        jScrollPane3.setViewportView(txtTamanioFicheros);

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane3)
                .addContainerGap())
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 206, Short.MAX_VALUE)
                .addContainerGap())
        );

        btnFicheros.setText("Sistema de ficheros");
        btnFicheros.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnFicherosActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel94)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnFicheros)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addComponent(jPanel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel94)
                    .addComponent(btnFicheros))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        btnAtrasAPropiedades.setText("Atrás");
        btnAtrasAPropiedades.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAtrasAPropiedadesActionPerformed(evt);
            }
        });

        btnSiguiente4.setText("Siguiente");
        btnSiguiente4.setEnabled(false);

        jButton10.setText("Cancelar");
        jButton10.setEnabled(false);

        btnFinalizar.setText("Finalizar");
        btnFinalizar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnFinalizarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelSistemaFicherosLayout = new javax.swing.GroupLayout(jPanelSistemaFicheros);
        jPanelSistemaFicheros.setLayout(jPanelSistemaFicherosLayout);
        jPanelSistemaFicherosLayout.setHorizontalGroup(
            jPanelSistemaFicherosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelSistemaFicherosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelSistemaFicherosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanelSistemaFicherosLayout.createSequentialGroup()
                        .addComponent(btnAtrasAPropiedades, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnSiguiente4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton10)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnFinalizar))
                    .addGroup(jPanelSistemaFicherosLayout.createSequentialGroup()
                        .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanelSistemaFicherosLayout.setVerticalGroup(
            jPanelSistemaFicherosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelSistemaFicherosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelSistemaFicherosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel19, javax.swing.GroupLayout.DEFAULT_SIZE, 575, Short.MAX_VALUE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanelSistemaFicherosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAtrasAPropiedades)
                    .addComponent(btnSiguiente4)
                    .addComponent(jButton10)
                    .addComponent(btnFinalizar))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel1.add(jPanelSistemaFicheros, "card2");

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnAtrasADispositivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAtrasADispositivoActionPerformed
        // TODO add your handling code here:
        //remover panel
        jPanel1.removeAll();
        jPanel1.repaint();
        jPanel1.revalidate();
        //añadir panel
        jPanel1.add(jPanelDatosDispositivo);
        jPanel1.repaint();
        jPanel1.revalidate();
    }//GEN-LAST:event_btnAtrasADispositivoActionPerformed

    private void btnSiguienteAPropiedadesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSiguienteAPropiedadesActionPerformed
        if (txtSerialBateria.getText().isEmpty() && txtFabricanteBateria.getText().isEmpty() && txtVoltaje.getText().isEmpty()) {
            txtSerialBateria.setText("N/A");
            txtFabricante.setText("N/A");
            txtVoltaje.setText("N/A");

        }

//remover panel
        jPanel1.removeAll();
        jPanel1.repaint();
        jPanel1.revalidate();
        //añadir panel
        jPanel1.add(jPanelPropiedades);
        jPanel1.repaint();
        jPanel1.revalidate();
    }//GEN-LAST:event_btnSiguienteAPropiedadesActionPerformed

    private void btnAtras2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAtras2ActionPerformed
        // TODO add your handling code here:
        //remover panel
        jPanel1.removeAll();
        jPanel1.repaint();
        jPanel1.revalidate();
        //añadir panel
        jPanel1.add(jPanelDatosDispositivo);
        jPanel1.repaint();
        jPanel1.revalidate();
    }//GEN-LAST:event_btnAtras2ActionPerformed

    private void btnSiguienteAPerifericosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSiguienteAPerifericosActionPerformed
        // TODO add your handling code here:
        //validar formulario              
        if (txtCodEtiquetaDispositivo.getText().isEmpty() || jDateChooserRecepcion.getDate() == null
                || cmbHora.getSelectedItem().equals("HH")
                || cmbMinutos.getSelectedItem().equals("mm")
                || cmbTipo.getSelectedItem().equals("Seleccione")
                || jRadioButtonApagado.isSelected() && jRadioButtonEncendido.isSelected()
                || jRadioButtonBloqueadoSi.isSelected() && jRadioButtonBloqueadoNo.isSelected()
                || jRadioButtonModoVueloSi.isSelected() && jRadioButtonModoVueloNo.isSelected()
                || txtPantalla.getText().isEmpty()
                || txtAlmacenamiento.getText().isEmpty()
                || jCheckBoxBluetooth.isSelected() && jCheckBoxInfrarrojo.isSelected() && jCheckBoxWifi.isSelected() && jCheckBoxOtro.isSelected() && txtOtro.getText().isEmpty()
                || jRadioButtonBateriaSi.isSelected() && jRadioButtonBateriaNo.isSelected()
                || jRadioButtonCableSi.isSelected() && jRadioButtonCableNo.isSelected()
                || jRadioButtonCamaraSi.isSelected() && jRadioButtonCamaraNo.isSelected()
                && jRadioButtonImgSi.isSelected() && jRadioButtonImgNo.isSelected()
                && jRadioButtonVideoSi.isSelected() && jRadioButtonVideoNo.isSelected()
                || jRadioButtonCargadorSi.isSelected() && jRadioButtonCargadorNo.isSelected()
                || jRadioButtonSDSi.isSelected() && jRadioButtonSDNo.isSelected()
                || jRadioButtonSIMSi.isSelected() && jRadioButtonSIMNo.isSelected()
                && txtFcc.getText().isEmpty() && txtIc.getText().isEmpty()) {
            txtFcc.setText("N/A");
            txtIc.setText("N/A");
            JOptionPane.showMessageDialog(null, "Formulario incompleto");
        } else {
            //remover panel
            jPanel1.removeAll();
            jPanel1.repaint();
            jPanel1.revalidate();
            //añadir panel
            jPanel1.add(jPanelDatosPerifericos);
            jPanel1.repaint();
            jPanel1.revalidate();
        }
    }//GEN-LAST:event_btnSiguienteAPerifericosActionPerformed

    private void btnAtrasAPerifericosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAtrasAPerifericosActionPerformed
        jPanel1.removeAll();
        jPanel1.repaint();
        jPanel1.revalidate();
        //añadir panel
        jPanel1.add(jPanelDatosPerifericos);
        jPanel1.repaint();
        jPanel1.revalidate();
    }//GEN-LAST:event_btnAtrasAPerifericosActionPerformed

    private void btnSiguienteAFicherosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSiguienteAFicherosActionPerformed
        //validar formulario
        if (txtSerialDevice.getText().isEmpty() && txtSerialDevice.getText().equals("Seleccione")) {
            JOptionPane.showMessageDialog(null, "Debe obtener los datos del dispositivo");
        } else {
            //remover panel
            jPanel1.removeAll();
            jPanel1.repaint();
            jPanel1.revalidate();
            //añadir panel
            jPanel1.add(jPanelSistemaFicheros);
            jPanel1.repaint();
            jPanel1.revalidate();
        }
    }//GEN-LAST:event_btnSiguienteAFicherosActionPerformed

    private void btnAtrasAPropiedadesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAtrasAPropiedadesActionPerformed
//remover panel
        jPanel1.removeAll();
        jPanel1.repaint();
        jPanel1.revalidate();
        //añadir panel
        jPanel1.add(jPanelPropiedades);
        jPanel1.repaint();
        jPanel1.revalidate();
    }//GEN-LAST:event_btnAtrasAPropiedadesActionPerformed

    private void btnBuscarDispositivosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBuscarDispositivosActionPerformed
        levantarServicio();
    }//GEN-LAST:event_btnBuscarDispositivosActionPerformed

    private void jComboBoxDevicesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBoxDevicesActionPerformed
        // Dispositivo seleccionado
        String dato = jComboBoxDevices.getSelectedItem().toString();
        txtSerialDevice.setText(dato);
        getDatos(dato);
    }//GEN-LAST:event_jComboBoxDevicesActionPerformed

    private void btnBackUpActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBackUpActionPerformed
        String device = txtSerialDevice.getText();
        if (!device.isEmpty()) {
            System.out.println("--> " + device);
        } else {
            JOptionPane.showMessageDialog(null, "No hay dispositivo conectado", "Advertencia", JOptionPane.WARNING_MESSAGE);

        }
    }//GEN-LAST:event_btnBackUpActionPerformed

    private void btnFinalizarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnFinalizarActionPerformed
        //validar formulario
        try {
            guardarDispositivo();
            dispose();
        } catch (Exception e) {
            e.printStackTrace();
            setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

        }
    }//GEN-LAST:event_btnFinalizarActionPerformed

    private void jRadioButtonSDNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonSDNoActionPerformed
        txtDisponibleSd.setEnabled(false);
        txtEspacioSd.setEnabled(false);
        txtSerialSD.setEnabled(false);
        txtDisponibleSd.setText("N/A");
        txtEspacioSd.setText("N/A");
        txtSerialSD.setText("N/A");
    }//GEN-LAST:event_jRadioButtonSDNoActionPerformed

    private void jRadioButtonCamaraSiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonCamaraSiActionPerformed
        jRadioButtonImgSi.setEnabled(true);
        jRadioButtonImgNo.setEnabled(true);
        jRadioButtonVideoSi.setEnabled(true);
        jRadioButtonVideoNo.setEnabled(true);

    }//GEN-LAST:event_jRadioButtonCamaraSiActionPerformed

    private void jRadioButtonCamaraNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonCamaraNoActionPerformed
        jRadioButtonImgSi.setEnabled(false);
        jRadioButtonImgNo.setEnabled(false);
        jRadioButtonVideoSi.setEnabled(false);
        jRadioButtonVideoNo.setEnabled(false);
    }//GEN-LAST:event_jRadioButtonCamaraNoActionPerformed

    private void jCheckBoxOtroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBoxOtroActionPerformed

        if (jCheckBoxOtro.isSelected()) {
            txtOtro.setEnabled(true);
        } else {
            txtOtro.setEnabled(false);
        }
    }//GEN-LAST:event_jCheckBoxOtroActionPerformed

    private void jRadioButtonSDSiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonSDSiActionPerformed
        txtDisponibleSd.setEnabled(true);
        txtEspacioSd.setEnabled(true);
        txtSerialSD.setEnabled(true);
        txtDisponibleSd.setText("");
        txtEspacioSd.setText("");
        txtSerialSD.setText("");
    }//GEN-LAST:event_jRadioButtonSDSiActionPerformed

    private void jRadioButtonCargadorSiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonCargadorSiActionPerformed
        txtCodCargador.setEnabled(true);
        txtMarcaCargador.setEnabled(true);
        txtModeloCargador.setEnabled(true);
        txtSerialCargador.setEnabled(true);
        txtFrecuenciaCargador.setEnabled(true);
        txtInput.setEnabled(true);
        txtOutput.setEnabled(true);
        txtCodCargador.setText("");
        txtMarcaCargador.setText("");
        txtModeloCargador.setText("");
        txtSerialCargador.setText("");
        txtFrecuenciaCargador.setText("");
        txtInput.setText("");
        txtOutput.setText("");
    }//GEN-LAST:event_jRadioButtonCargadorSiActionPerformed

    private void jRadioButtonCargadorNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonCargadorNoActionPerformed
        txtCodCargador.setEnabled(false);
        txtMarcaCargador.setEnabled(false);
        txtModeloCargador.setEnabled(false);
        txtSerialCargador.setEnabled(false);
        txtFrecuenciaCargador.setEnabled(false);
        txtInput.setEnabled(false);
        txtOutput.setEnabled(false);

        txtCodCargador.setText("N/A");
        txtMarcaCargador.setText("N/A");
        txtModeloCargador.setText("N/A");
        txtSerialCargador.setText("N/A");
        txtFrecuenciaCargador.setText("N/A");
        txtInput.setText("N/A");
        txtOutput.setText("N/A");
    }//GEN-LAST:event_jRadioButtonCargadorNoActionPerformed

    private void jRadioButtonSIMSiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonSIMSiActionPerformed
        txtFono.setEnabled(true);
        txtPin.setEnabled(true);
        txtPuk.setEnabled(true);
        txtIccSIM.setEnabled(true);

        txtFono.setText("");
        txtPin.setText("");
        txtPuk.setText("");
        txtIccSIM.setText("");
    }//GEN-LAST:event_jRadioButtonSIMSiActionPerformed

    private void jRadioButtonSIMNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonSIMNoActionPerformed
        txtFono.setEnabled(false);
        txtPin.setEnabled(false);
        txtPuk.setEnabled(false);
        txtIccSIM.setEnabled(false);
        txtFono.setText("N/A");
        txtPin.setText("N/A");
        txtPuk.setText("N/A");
        txtIccSIM.setText("N/A");
    }//GEN-LAST:event_jRadioButtonSIMNoActionPerformed

    private void jRadioButtonCableSiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonCableSiActionPerformed
        txtCodCable.setEnabled(true);
        txtCodCable.setText("");
    }//GEN-LAST:event_jRadioButtonCableSiActionPerformed

    private void jRadioButtonCableNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButtonCableNoActionPerformed
        txtCodCable.setEnabled(false);
        txtCodCable.setText("N/A");
    }//GEN-LAST:event_jRadioButtonCableNoActionPerformed

    private void btnCancelar1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelar1ActionPerformed
        dispose();
    }//GEN-LAST:event_btnCancelar1ActionPerformed

    private void btnFicherosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnFicherosActionPerformed
        String device = txtSerialDevice.getText();
        getParticiones(device);
        getDirectorio(device);
    }//GEN-LAST:event_btnFicherosActionPerformed

    private void jDateChooserRecepcionMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jDateChooserRecepcionMouseClicked
//verificar fechas
        SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");
        Date incau = jDateChooserRecepcion.getDate();
        Date soli = CrearCaso.txtFechaIncautacion.getDate();
        if (soli.before(incau)) {
            System.out.println("correcto");
        } else {
            JOptionPane.showMessageDialog(null, "La fecha de incautación " + sdf.format(incau) + " debe ser mayor o igual a la fecha de solicitud " + sdf.format(soli));
        }
    }//GEN-LAST:event_jDateChooserRecepcionMouseClicked
    @SuppressWarnings("empty-statement")
    public void guardarDispositivo() throws ParseException {
        ConexionBD con = new ConexionBD();
        ////****DISPOSITIVO
        String codEtiquetD = txtCodEtiquetaDispositivo.getText();
        String tipocmb = cmbTipo.getSelectedItem().toString();
        String pantalla = txtPantalla.getText();
        ////****fecha recepcion
        String hora = cmbHora.getSelectedItem().toString().concat("-");
        String minuto = cmbMinutos.getSelectedItem().toString();
        Date fechaI = jDateChooserRecepcion.getDate();
        SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd");
        String fechaIn = sf.format(fechaI);
        System.out.println(fechaIn);
        String time = fechaIn.concat(" ").concat(hora).concat(minuto);
        System.out.println("--" + time);
        //despues convertir a GMT-5 fecha real
        SimpleDateFormat f = new SimpleDateFormat("yyyy-MM-dd HH-mm");
        Date dt = f.parse(time);
        long fechaIncautacion = dt.getTime();
        System.out.println(time + "-->" + fechaIncautacion);
        ///****
        ////
        String estados = "", bloqueado = "", modoVuelo = "", sd = "", sim = "", bateria = "", cargador = "", cable = "", camara = "", imagenes = "", videos = "";
        String servicios = "";
        if (jRadioButtonEncendido.isSelected()) {
            estados = "Encendido";
        } else if (jRadioButtonApagado.isSelected()) {
            estados = "Apagado";
        }
        if (jRadioButtonBloqueadoSi.isSelected()) {
            bloqueado = "Si";
        } else if (jRadioButtonBloqueadoNo.isSelected()) {
            bloqueado = "No";
        }
        if (jRadioButtonModoVueloSi.isSelected()) {
            modoVuelo = "Si";
        } else if (jRadioButtonModoVueloNo.isSelected()) {
            modoVuelo = "No";
        }
        if (jRadioButtonSDSi.isSelected()) {
            sd = "Si";
        } else if (jRadioButtonSDNo.isSelected()) {
            sd = "No";
        }
        if (jRadioButtonSIMSi.isSelected()) {
            sim = "Si";
        } else if (jRadioButtonSIMNo.isSelected()) {
            sim = "No";
        }
        if (jRadioButtonBateriaSi.isSelected()) {
            bateria = "Si";
        } else if (jRadioButtonBateriaNo.isSelected()) {
            bateria = "No";
        }
        if (jRadioButtonCargadorSi.isSelected()) {
            cargador = "Si";
        } else if (jRadioButtonCargadorNo.isSelected()) {
            cargador = "No";
        }
        if (jRadioButtonCableSi.isSelected()) {
            cable = "Si";
        } else if (jRadioButtonCableNo.isSelected()) {
            cable = "No";
        }
        if (jRadioButtonCamaraSi.isSelected()) {
            camara = "Si";
        } else if (jRadioButtonCamaraNo.isSelected()) {
            camara = "No";
        }
        if (jRadioButtonImgSi.isSelected()) {
            imagenes = "Si";
        } else if (jRadioButtonImgNo.isSelected()) {
            imagenes = "No";
        }
        if (jRadioButtonVideoSi.isSelected()) {
            videos = "Si";
        } else if (jRadioButtonVideoNo.isSelected()) {
            videos = "No";
        }
        if (jCheckBoxBluetooth.isSelected()) {
            servicios = servicios + "Bluetooth ";
        }
        if (jCheckBoxInfrarrojo.isSelected()) {
            servicios = servicios + "Infrarrojo ";
        }
        if (jCheckBoxWifi.isSelected()) {
            servicios = servicios + "Wifi ";
        }
        if (jCheckBoxOtro.isSelected()) {
            servicios = servicios + txtOtro.getText();
        }
        System.out.println("Servicios: " + servicios);
        String almace = txtAlmacenamiento.getText();
        //****Los siguientes datos pueden estar vacios
        ////**** DISPOSITIVO
        String fccIdD = txtFcc.getText();
        String ic = txtIc.getText();
        String evi = CrearCaso.txtCodigoEvidencia.getText();
        Device d = new Device(evi, codEtiquetD, fechaIncautacion, tipocmb, estados, bloqueado, pantalla, cargador, fccIdD, ic, almace, modoVuelo, servicios, camara, imagenes, videos, bateria);
        String codEvidencia = CrearCaso.txtCodigoEvidencia.getText();

        ////**** PROPIEDADES
        String tipoDevice = txtTipo.getText();
        String serialdev = txtSerialDevice.getText();
        String radio = txtSerialRadio.getText();
        String mar = txtMarca.getText();
        String model = txtModelo.getText();
        String fabri = txtFabricante.getText();
        String oper = txtOperadora.getText();
        String imei = txtImei.getText();
        String proc = txtProcesador.getText();
        String so = txtSO.getText();
        String vers = txtVersion.getText();
        String idiom = txtLenguaje.getText();
        String compi = txtCompilacion.getText();
        String ker = txtKernel.getText();
        ////****FICHEROS
        String fich = txtFicheros1.getText();
        String tamanioFich = txtTamanioFicheros.getText();
        Propiedades prop = new Propiedades(serialdev, radio, model, oper, so, vers, mar, fabri, idiom, imei, tipoDevice, compi, ker, proc, fich, tamanioFich);
        ////**** PERIFERICOS
        String serialsd = txtSerialSD.getText();
        String sddisponible = txtDisponibleSd.getText();
        String sdespacio = txtEspacioSd.getText();

        SdCard card = new SdCard(serialsd, sdespacio, sddisponible);

        String icsim = txtIccSIM.getText();
        String fono = txtFono.getText();
        String pin = txtPin.getText();
        String puk = txtPuk.getText();

        SimCard simc = new SimCard(fono, oper, icsim, pin, puk, imei);

        String serialb = txtSerialBateria.getText();
        String fabB = txtFabricanteBateria.getText();
        String volB = txtVoltaje.getText();

        Bateria bat = new Bateria(serialb, fabB, volB);

        String codCarg = txtCodCargador.getText();
        String serialCargador = txtSerialCargador.getText();
        String marcCar = txtMarcaCargador.getText();
        String modeloCar = txtModeloCargador.getText();
        String frecCar = txtFrecuenciaCargador.getText();
        String in = txtInput.getText();
        String out = txtOutput.getText();
        String codCable = txtCodCable.getText();

        Cargador ca = new Cargador(codCarg, serialCargador, marcCar, modeloCar, in, out, frecCar, cable, codCable);

        if (con.guardarDispositivo(codEvidencia, d)) {
            if (con.guardarDisPropiedades(prop, codEtiquetD)) {
            } else {
                JOptionPane.showMessageDialog(null, "Error datos propiedades");
            }
            if (con.guardarBateria(codEtiquetD, bat)) {

            } else {
                JOptionPane.showMessageDialog(null, "Error datos bateria");
            }
            if (con.guardarCargador(codEtiquetD, ca)) {

            } else {
                JOptionPane.showMessageDialog(null, "Error datos cargador");
            }
            if (con.guardarSD(codEtiquetD, card)) {

            } else {
                JOptionPane.showMessageDialog(null, "Error datos sd");
            }
            if (con.guardarSIM(codEtiquetD, simc)) {

            } else {
                JOptionPane.showMessageDialog(null, "Error datos sim");
            }
            JOptionPane.showMessageDialog(null, "Dispositivo registrado");
        } else {
            JOptionPane.showMessageDialog(null, "Error dispositivo no registrado");
        }

    }

    public void levantarServicio() {         
        try {
            String devices[] = getDevices();
            System.out.println("Salida--> " + devices[0]);

            if (devices[0].length() <= 2 && !devices[0].equals("* daemon started successfully *")) {
                //if (devices[0].length() <= 2) {
                JOptionPane.showMessageDialog(null, "No hay dispositivos conectados", "Advertencia", JOptionPane.WARNING_MESSAGE);
                System.out.println("NO device");
                log.info("No hay dispositivos conectados");
            } else {
                jComboBoxDevices.addItem("Seleccione");
                jComboBoxDevices.addItem(devices[0]);
            }
            btnBuscarDispositivos.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent e) {
                    //limpiar();
                    jComboBoxDevices.setSelectedItem("Seleccione");
                }
            });

        } catch (Exception e) {
            log.error(e);
        }

    }

    public String[] getDevices() {
        String comando = "adb devices";
        try {
            Process p = Runtime.getRuntime().exec(comando);
            log.info("Comando ADB " + comando);
            java.io.DataInputStream in = new java.io.DataInputStream(p.getInputStream());

            byte[] buf = new byte[1024];
            int len = in.read(buf);

            String[] ligne = new String(buf, 0, len).split("\n");
            String[] retour = new String[ligne.length - 1]; // We don't take the first line "List of devices attached"

            for (int i = 1; i < ligne.length; i++) {
                retour[i - 1] = ligne[i].split("\t")[0];
            }
            log.info("Dispositivos conectados: " + retour[0]);
            return retour;

        } catch (java.io.IOException e) {
            log.error(e);
        }

        return null;
    }

    public void getParticiones(String device) {
        String ficheros = "";
        String ruta = "";
        String carpeta = "";
        try {
            //String cmd2 = "adb -s " + device + " shell ls -l";
            String cmd2 = "adb -s " + device + " shell mount";
            log.info("Comando ADB " + cmd2);
            String dat;

            Process p1 = Runtime.getRuntime().exec(cmd2);
            BufferedReader stdInput1 = new BufferedReader(new InputStreamReader(p1.getInputStream()));

            // Leemos la salida del comando
            System.out.println("Salida: ");
            dat = stdInput1.readLine();
            while (dat != null) {
                txtFicheros1.append(dat + "\n");
                //System.out.println("Salida: " + dat);
//                ArrayList<String> list = new ArrayList<>();
//                list.add(dat);
//                System.out.println("LISTA--> "+list);
//                String a[] = dat.split("\n");
//                for (int i = 0; i < a.length; i++) {
//                    System.out.println("***DATO***");
//                    System.out.println("-->" + a[i]);
//                    String b[] = a[i].split(" ");
//                    for (int j = 0; j < b.length; j++) {
//                        System.out.println("b:" + b[j]);
//
//                    }
//                }
                String a[] = dat.split(" ");
                //txtFicheros1.append("Ruta: " + a[0].toString() + " Fichero: " + a[1].toString());
                txtFicheros1.append(dat);

                dat = stdInput1.readLine();
                // log.info(dat);

            }
            //***presentación

            ////
            stdInput1.close();
        } catch (Exception e) {
            System.out.println(e);
            log.error(e);
        }
    }

    public void getDirectorio(String device) {
        try {
            String cmd2 = "adb -s " + device + " shell df";
            String line = "";
            Process p1 = Runtime.getRuntime().exec(cmd2);
            BufferedReader stdInput1 = new BufferedReader(new InputStreamReader(p1.getInputStream()));

            while ((line = stdInput1.readLine()) != null) {

                String[] ligneContent = line.split(" ");

                txtTamanioFicheros.append(line + "\n");
                line = stdInput1.readLine();

            }
            stdInput1.close();
        } catch (Exception e) {
            System.out.println(e);
        }
    }

    public void getDatos(String device) {
        //Obtener información del dispositivo
        String cmd = "adb -s " + device + " shell getprop ";
        String model = "ro.product.model";
        String operadora = "gsm.operator.alpha"; //gsm.sim.operator.alpha
        String versionOs = "ro.build.version.release";
        String marca = "ro.product.brand";
        String fabricante = "ro.product.manufacturer";
        //String sdk = "ro.build.version.sdk";
        String lenguaje = "persist.sys.language";
        String imei = "persist.radio.imei";
        String tipo = "ro.build.characteristics";
        String compilacion = "ro.build.description";
        String procesador = "ro.board.platform";//"ro.product.processor";
        String radio = "ril.serialnumber";
        String so = "net.bt.name";
        String kernel = "adb -s " + device + " shell cat /proc/version";
        String vacio = "N/A";

        String salida;

        try {
            Process p = Runtime.getRuntime().exec(cmd + model);
            Process p1 = Runtime.getRuntime().exec(cmd + operadora);
            Process p2 = Runtime.getRuntime().exec(cmd + versionOs);
            Process p3 = Runtime.getRuntime().exec(cmd + marca);
            Process p4 = Runtime.getRuntime().exec(cmd + fabricante);
            Process p5 = Runtime.getRuntime().exec(cmd + lenguaje);
            Process p6 = Runtime.getRuntime().exec(cmd + imei);
            Process p7 = Runtime.getRuntime().exec(cmd + tipo);
            Process p8 = Runtime.getRuntime().exec(cmd + compilacion);
            Process p9 = Runtime.getRuntime().exec(kernel);
            Process p10 = Runtime.getRuntime().exec(cmd + procesador);
            Process p11 = Runtime.getRuntime().exec(cmd + radio);
            Process p12 = Runtime.getRuntime().exec(cmd + so);

            BufferedReader std = new BufferedReader(new InputStreamReader(p.getInputStream()));
            BufferedReader std1 = new BufferedReader(new InputStreamReader(p1.getInputStream()));
            BufferedReader std2 = new BufferedReader(new InputStreamReader(p2.getInputStream()));
            BufferedReader std3 = new BufferedReader(new InputStreamReader(p3.getInputStream()));
            BufferedReader std4 = new BufferedReader(new InputStreamReader(p4.getInputStream()));
            BufferedReader std5 = new BufferedReader(new InputStreamReader(p5.getInputStream()));
            BufferedReader std6 = new BufferedReader(new InputStreamReader(p6.getInputStream()));
            BufferedReader std7 = new BufferedReader(new InputStreamReader(p7.getInputStream()));
            BufferedReader std8 = new BufferedReader(new InputStreamReader(p8.getInputStream()));
            BufferedReader std9 = new BufferedReader(new InputStreamReader(p9.getInputStream()));
            BufferedReader std10 = new BufferedReader(new InputStreamReader(p10.getInputStream()));
            BufferedReader std11 = new BufferedReader(new InputStreamReader(p11.getInputStream()));
            BufferedReader std12 = new BufferedReader(new InputStreamReader(p12.getInputStream()));
            salida = std.readLine();
            if (salida != null && !salida.equals("")) {
                System.out.println("Modelo: " + salida);

                model = salida;
                txtModelo.setText(model);
                salida = std.readLine();
            } else {
                txtModelo.setText(vacio);
                model = vacio;
            }
            std.close();
            //////////////
            salida = std1.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                System.out.println("Operadora: " + salida);
                operadora = salida; //set variable
                txtOperadora.setText(operadora);
                salida = std1.readLine();
            } else {
                txtOperadora.setText(vacio);
                operadora = vacio;
            }
            std1.close();
            /////////////
            salida = std2.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("Version OS: " + salida);
                versionOs = salida;
                txtVersion.setText(versionOs);
                salida = std2.readLine();
            } else {
                txtVersion.setText(vacio);
                versionOs = vacio;
            }
            std2.close();
            /////////////
            salida = std3.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("Marca: " + salida);
                marca = salida;
                txtMarca.setText(marca);
                salida = std3.readLine();
            } else {
                txtMarca.setText(vacio);
                marca = vacio;
            }
            std3.close();

            /////////////
            salida = std4.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("Fabricante: " + salida);
                fabricante = salida;
                txtFabricante.setText(fabricante);
                salida = std4.readLine();
            } else {
                txtFabricante.setText(vacio);
                fabricante = vacio;
            }
            std4.close();

            /////////////
            salida = std5.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("Idioma OS: " + salida);
                lenguaje = salida;
                if (lenguaje.equals("es")) {
                    lenguaje = "Español";
                    txtLenguaje.setText(lenguaje);
                }
                if (lenguaje.equals("en")) {
                    lenguaje = "Inglés";
                    txtLenguaje.setText(lenguaje);
                }

                salida = std5.readLine();
            } else {
                txtLenguaje.setText(vacio);
                lenguaje = vacio;
            }
            std5.close();
            /////////////
            salida = std6.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("IMEI: " + salida);
                imei = salida;
                txtImei.setText(imei);
                salida = std6.readLine();
            } else {
                txtImei.setText(vacio);
                imei = vacio;
            }
            std6.close();
            /////////////
            salida = std7.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("Tipo: " + salida);
                tipo = salida;
                txtTipo.setText(tipo);
                salida = std7.readLine();
            } else {
                txtTipo.setText(vacio);
                tipo = vacio;
            }
            std7.close();
/////////////
            salida = std8.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("#Compilación: " + salida);
                compilacion = salida;
                txtCompilacion.setText(compilacion);
                salida = std8.readLine();
            } else {
                txtCompilacion.setText(vacio);
                compilacion = vacio;
            }
            std8.close();
/////////////
            salida = std9.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("Kernel: " + salida);
                kernel = salida;
                txtKernel.setText(kernel);
                salida = std9.readLine();
            } else {
                txtKernel.setText(vacio);
                kernel = vacio;
            }
            std9.close();
            /////////////
            salida = std10.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                procesador = salida;
                txtProcesador.setText(procesador);
                salida = std10.readLine();
            } else {
                txtProcesador.setText(vacio);
                procesador = vacio;
            }
            std10.close();
            /////////////
            salida = std11.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                System.out.println("radio: " + salida);
                radio = salida;
                txtSerialRadio.setText(radio);
                salida = std11.readLine();
            } else {
                txtSerialRadio.setText(vacio);
                radio = vacio;
            }
            std11.close();
            /////////////
            salida = std12.readLine();
            if (salida != null && !salida.equals("")) {
                //String dato =salida;
                String[] line = salida.split("\n");
                so = salida;
                txtSO.setText(so);
                salida = std12.readLine();
            } else {
                txtSO.setText(vacio);
                so = vacio;
            }
            std12.close();

        } catch (IOException ex) {
            //Logger.getLogger(InfoDevice.class.getName()).log(Level.SEVERE, null, ex);
            System.out.println("Error" + ex);
            log.error(ex);
        }

    }

    public void obtBackup(String dispositivo) throws IOException {
        Process p1 = null;
        String c = "adb -s " + dispositivo;
        log.info("Comando ADB: " + c);

        String nombre = JOptionPane.showInputDialog(null, "Escribe nombre backup", "Confirmación", 1);

        if (nombre != null) {
            try {
                //String cmd = c + " backup -f c:/backup/" + nombre + ".ab -noapk -system -all";
                String cmd = c + " backup -f c:/backup/" + nombre + ".ab -apk -system -all";
                JOptionPane.showMessageDialog(null, "Confirma el backup en el dispositivo", "Advertencia", JOptionPane.WARNING_MESSAGE);
                log.info("Comando ADB " + cmd);
                p1 = Runtime.getRuntime().exec(cmd);
                p1.waitFor();
                String line;
                BufferedReader stdInput1 = new BufferedReader(new InputStreamReader(p1.getInputStream()));
                System.out.println(cmd);

                line = stdInput1.readLine();
                stdInput1.close();
            } catch (Exception e) {
                log.error(e);
                System.out.println(e);
                JOptionPane.showMessageDialog(null, "Error al momento de realizar la copia", "Error", JOptionPane.ERROR_MESSAGE);
                log.error(e);
            } finally {
                if (p1 != null) {
                    p1.getOutputStream().close();
                    p1.getInputStream().close();
                    p1.getErrorStream().close();
                    JOptionPane.showMessageDialog(null, "Copia Finalizada en el disco c:/backup", "Éxito", JOptionPane.INFORMATION_MESSAGE);
                    log.info("Copia finalizada");
                }
            }

        } else {
            JOptionPane.showMessageDialog(null, "Ha cancelado la opción de backup", "No backup", JOptionPane.WARNING_MESSAGE);
            log.info("Copia cancelada");
        }

    }

    public void primeraLetraMayuscula(JTextField p) {
        p.addKeyListener(new KeyAdapter() {
            public void keyTyped(KeyEvent e) {
                String cadena = p.getText();
                if (cadena.length() > 0) {
//                    String reemplaza = cadena.substring(0, 1).toUpperCase() + cadena.substring(1, cadena.length());
//                    p.setText(reemplaza);
                    char[] caracteres = cadena.toCharArray();
                    caracteres[0] = Character.toUpperCase(caracteres[0]);

                    p.setText(new String(caracteres));

                    for (int i = 0; i < cadena.length() - 2; i++) {
                        //if (caracteres[i] == ' ' || caracteres[i] == '.' || caracteres[i] == ',') {
                        if (caracteres[i] == ' ' || caracteres[i] == '.') {
                            caracteres[i + 1] = Character.toUpperCase(caracteres[i + 1]);

                            p.setText(new String(caracteres));
                        }

                    }

                }

            }
        });
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(IngresarDispositivo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(IngresarDispositivo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(IngresarDispositivo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(IngresarDispositivo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new IngresarDispositivo().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnAtras2;
    private javax.swing.JButton btnAtrasADispositivo;
    private javax.swing.JButton btnAtrasAPerifericos;
    private javax.swing.JButton btnAtrasAPropiedades;
    private javax.swing.JButton btnBackUp;
    private javax.swing.JButton btnBuscarDispositivos;
    private javax.swing.JButton btnCancelar1;
    private javax.swing.JButton btnFicheros;
    private javax.swing.JButton btnFinalizar;
    private javax.swing.JButton btnFinalizar1;
    private javax.swing.JButton btnSiguiente4;
    private javax.swing.JButton btnSiguienteAFicheros;
    private javax.swing.JButton btnSiguienteAPerifericos;
    private javax.swing.JButton btnSiguienteAPropiedades;
    private javax.swing.JComboBox cmbHora;
    private javax.swing.JComboBox cmbMinutos;
    public static javax.swing.JComboBox cmbTipo;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton7;
    private javax.swing.JButton jButton8;
    private javax.swing.JCheckBox jCheckBoxBluetooth;
    private javax.swing.JCheckBox jCheckBoxInfrarrojo;
    private javax.swing.JCheckBox jCheckBoxOtro;
    private javax.swing.JCheckBox jCheckBoxWifi;
    private javax.swing.JComboBox jComboBoxDevices;
    private com.toedter.calendar.JDateChooser jDateChooserRecepcion;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel60;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel68;
    private javax.swing.JLabel jLabel69;
    private javax.swing.JLabel jLabel70;
    private javax.swing.JLabel jLabel71;
    private javax.swing.JLabel jLabel72;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel76;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel79;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel80;
    private javax.swing.JLabel jLabel81;
    private javax.swing.JLabel jLabel82;
    private javax.swing.JLabel jLabel83;
    private javax.swing.JLabel jLabel84;
    private javax.swing.JLabel jLabel85;
    private javax.swing.JLabel jLabel86;
    private javax.swing.JLabel jLabel87;
    private javax.swing.JLabel jLabel88;
    private javax.swing.JLabel jLabel89;
    private javax.swing.JLabel jLabel90;
    private javax.swing.JLabel jLabel91;
    private javax.swing.JLabel jLabel92;
    private javax.swing.JLabel jLabel93;
    private javax.swing.JLabel jLabel94;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel14;
    private javax.swing.JPanel jPanel15;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel19;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JPanel jPanelDatosDispositivo;
    private javax.swing.JPanel jPanelDatosPerifericos;
    private javax.swing.JPanel jPanelPropiedades;
    private javax.swing.JPanel jPanelSistemaFicheros;
    public static javax.swing.JRadioButton jRadioButtonApagado;
    private javax.swing.JRadioButton jRadioButtonBateriaNo;
    private javax.swing.JRadioButton jRadioButtonBateriaSi;
    public static javax.swing.JRadioButton jRadioButtonBloqueadoNo;
    public static javax.swing.JRadioButton jRadioButtonBloqueadoSi;
    private javax.swing.JRadioButton jRadioButtonCableNo;
    private javax.swing.JRadioButton jRadioButtonCableSi;
    private javax.swing.JRadioButton jRadioButtonCamaraNo;
    private javax.swing.JRadioButton jRadioButtonCamaraSi;
    private javax.swing.JRadioButton jRadioButtonCargadorNo;
    private javax.swing.JRadioButton jRadioButtonCargadorSi;
    public static javax.swing.JRadioButton jRadioButtonEncendido;
    private javax.swing.JRadioButton jRadioButtonImgNo;
    private javax.swing.JRadioButton jRadioButtonImgSi;
    private javax.swing.JRadioButton jRadioButtonModoVueloNo;
    private javax.swing.JRadioButton jRadioButtonModoVueloSi;
    private javax.swing.JRadioButton jRadioButtonSDNo;
    private javax.swing.JRadioButton jRadioButtonSDSi;
    private javax.swing.JRadioButton jRadioButtonSIMNo;
    private javax.swing.JRadioButton jRadioButtonSIMSi;
    private javax.swing.JRadioButton jRadioButtonVideoNo;
    private javax.swing.JRadioButton jRadioButtonVideoSi;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JToolBar jToolBar2;
    private javax.swing.JTextField txtAlmacenamiento;
    private javax.swing.JTextField txtCodCable;
    private javax.swing.JTextField txtCodCargador;
    public static javax.swing.JTextField txtCodEtiquetaDispositivo;
    private javax.swing.JTextArea txtCompilacion;
    private javax.swing.JTextField txtDisponibleSd;
    private javax.swing.JTextField txtEspacioSd;
    private javax.swing.JTextField txtFabricante;
    private javax.swing.JTextField txtFabricanteBateria;
    private javax.swing.JTextField txtFcc;
    private javax.swing.JTextArea txtFicheros1;
    private javax.swing.JTextField txtFono;
    private javax.swing.JTextField txtFrecuenciaCargador;
    private javax.swing.JTextField txtIc;
    private javax.swing.JTextField txtIccSIM;
    private javax.swing.JTextField txtImei;
    private javax.swing.JTextField txtInput;
    private javax.swing.JTextArea txtKernel;
    private javax.swing.JTextField txtLenguaje;
    public static javax.swing.JTextField txtMarca;
    private javax.swing.JTextField txtMarcaCargador;
    public static javax.swing.JTextField txtModelo;
    private javax.swing.JTextField txtModeloCargador;
    private javax.swing.JTextField txtOperadora;
    private javax.swing.JTextField txtOtro;
    private javax.swing.JTextField txtOutput;
    private javax.swing.JTextField txtPantalla;
    private javax.swing.JTextField txtPin;
    private javax.swing.JTextField txtProcesador;
    private javax.swing.JTextField txtPuk;
    private javax.swing.JTextField txtSO;
    private javax.swing.JTextField txtSerialBateria;
    private javax.swing.JTextField txtSerialCargador;
    public static javax.swing.JTextField txtSerialDevice;
    private javax.swing.JTextField txtSerialRadio;
    private javax.swing.JTextField txtSerialSD;
    private javax.swing.JTextArea txtTamanioFicheros;
    private javax.swing.JTextField txtTipo;
    private javax.swing.JTextField txtVersion;
    private javax.swing.JTextField txtVoltaje;
    // End of variables declaration//GEN-END:variables
}
